// 服务条款
export const serviceTermsApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'blapp/v1/about/service',
    data,
  })

// 投诉
export const complaintApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'blapp/v1/about/complaint',
    data,
  })

// 政策
export const policyApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'blapp/v1/about/policy',
    data,
  })

// 功能介绍列表
export const functionListApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'blapp/v1/introduction/list',
    data,
  })

// 功能介绍详情
export const functionDetailApi = <T>(data?: any) =>
  uni.http<T>({
    url: '/blapp/v1/introduction/info',
    data,
  })

// 版权信息
export const copyRightApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'blapp/v1/banner/copyright',
    data,
  })

// 版权信息
export const revisionsApi = <T>(data?: any) =>
  uni.http<T>({
    url: 'doctorapp/v1/introduction/revisions',
    data,
    requestType: 'app',
  })
